import os
import sys

# Add the current directory to the Python path
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))

from PyQt6.QtWidgets import QApplication

# Import the module directly to avoid circular imports
import ui.main_window

def main():
    app = QApplication(sys.argv)
    window = ui.main_window.MainWindow()
    window.show()
    sys.exit(app.exec())

if __name__ == '__main__':
    main()